@keyframes shakecCircle {
  0% {
    transform: translate(0px, 0px);
  }

  10% {
    transform: translate(0px, 2px);
  }

  20% {
    transform: translate(-2px, 2px);
  }

  30% {
    transform: translate(-2px, 0px);
  }

  40% {
    transform: translate(-2px, -2px);
  }

  50% {
    transform: translate(0px, -2px);
  }

  60% {
    transform: translate(2px, -2px);
  }

  70% {
    transform: translate(2px, 0px);
  }

  80% {
    transform: translate(2px, 2px);
  }

  90% {
    transform: translate(0px, 2px);
  }

  100% {
    transform: translate(0px, 0px);
  }
}

@keyframes bgChange {
  0% {
    // background: url("~@/assets/images/nav/card-small.png") center no-repeat;
    // background: url("~@/assets/images/nav/card/card-small-1.png") center no-repeat;
  }

  90% {
    // background: url("~@/assets/images/nav/card-small.png") center no-repeat;
    background: linear-gradient(180deg, #025388 0%, #012950 80%);
  }

  100% {
    // background: url("~@/assets/images/nav/card-small-active.png") center no-repeat;
    background: linear-gradient(180deg, #025388 0%, #012950 100%);
  }
}

.body-box {
  width: 100%;
  height: 100%;
  position: relative;
}

.titlePage {
  width: 100%;
  height: 100%;
  // overflow: hidden;
  // margin: 0 auto;
  // background: url("~@/assets/images/nav/navBackground-small.png") center bottom no-repeat !important;
  // background-size: cover;
  // background-blend-mode: luminosity;
}

/* 上方按钮区域 */
.titlePage-title {
  width: 100%;
  min-width: 1760px;
  height: 70px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  margin-top: 20px;

  div {

    // margin-top: 20px;
    .mid-title {
      cursor: default;
      font-size: 32px;
      font-family: PingFang-SC-Bold, PingFang-SC;
      font-weight: bold;
      // color: #ffffff;
      line-height: 45px;
      background-image: -webkit-linear-gradient(top, #FFFFFF, #72DCFF);
      -webkit-background-clip: text;
      -webkit-text-fill-color: transparent;
    }
  }

  .title-button-area {
    position: absolute;
    top: 6px;
    right: 30px;
    width: 240px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;

    .dept-light {
      width: 120px;
      height: 26px;
      background: url("~@/assets/images/nav/dept-bg.png") center no-repeat;
      background-size: 100%;
      text-align: center;

      span {
        cursor: default;
        font-size: 14px;
        font-family: PingFang-SC-Medium, PingFang-SC;
        font-weight: 500;
        color: #FFFFFF;
        line-height: 25px;
        letter-spacing: 1px;
      }
    }

    img {
      cursor: pointer;
      width: 30px;
      height: 30px;
    }
  }
}

/* 双控双碳 */
.carbon {
  position: absolute;
  right: 40px;
  width: 168px;
  height: 44px;
  background: url("~@/assets/images/nav/carbon-bg.png") center no-repeat;
  background-size: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;

  span {
    font-size: 24px;
    font-family: PingFang-SC-Bold, PingFang-SC;
    font-weight: bold;
    color: #DEDEDE;
    line-height: 28px;
    letter-spacing: 2px;
  }
}

/* 标题区域 */
.mid-title-area {
  width: 650px;
  position: relative;
  margin: 0 auto;
  margin-top: 54px;

  span {
    cursor: default;
    font-size: 40px;
    font-family: PingFang-SC-Bold, PingFang-SC;
    font-weight: bold;
    color: #FFFFFF;
    line-height: 56px;
    letter-spacing: 14px;
    text-shadow: 0px 4px 2px rgba(0, 0, 0, 0.37);
    text-align: center;
  }
}


/* 路由菜单 */
.content-box {
  width: 100%;
  position: relative;

  .card-box {
    width: 100%;
    min-width: 1560px;
    margin: 150px auto 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-around;

    .card-item {
      width: 300px;
      height: 440px;

      /* 卡片区域 */
      .card-item-content {
        width: 100%;
        height: 100%;
        position: relative;
        transition: 1s ease-in-out;

        .back-image {
          width: 100%;
          height: 100%;
          position: absolute;
        }

        /* 卡片正面 */
        .card-item-front {
          z-index: 2;
          transition: 0.5s ease-in-out;
          position: absolute;
          width: 100%;
          height: 100%;
          display: flex;
          flex-direction: column;
          justify-content: space-between;
          align-items: center;
          cursor: default;

          .cif-top {
            margin-top: 30px;
            // height: 200px;
            width: 100%;
            display: flex;
            flex-direction: column;
            align-items: center;
            // justify-content: space-between;

            .cif-title {
              font-size: 32px;
              font-family: PingFang-SC-Medium, PingFang-SC;
              font-weight: 500;
              color: #FFFFFF;
              line-height: 45px;
            }

            .cif-content {

              img {
                width: 60px;
                height: 60px;
              }
            }

            // .cif-subheading {
            //   text-align: center;
            //   font-size: 26px;
            //   font-family: ArialMT;
            //   color: #FFFFFF;
            //   line-height: 31px;
            // }
            .cif-router {
              margin-top: 10px;
              text-align: center;
              font-size: 26px;
              font-family: ArialMT;
              color: #FFFFFF;
              line-height: 31px;

              .cif-item {
                margin: 20px 0;
                cursor: pointer;

                &:hover {
                  color: #72DCFF;
                }
              }
            }
          }

          // .cif-bottom {
          //   width: 100%;
          //   display: flex;
          //   align-items: center;
          //   justify-content: center;
          //   // margin-bottom: 20px;

          //   img {
          //     width: 40px;
          //     height: 40px;
          //     // cursor: pointer;
          //   }
          // }
        }

        /* 卡片反面 */
        // .card-item-behind {
        //   position: absolute;
        //   transition: 0.5s ease-in-out;
        //   transform: rotateY(-90deg);
        //   width: 100%;
        //   height: 100%;
        //   display: flex;
        //   flex-direction: column;
        //   justify-content: center;

        //   .cib-item {
        //     display: flex;
        //     align-items: center;
        //     // justify-content: center;
        //     color: #F8F8F8;
        //     margin: 10px 0 10px 78px;

        //     img {
        //       width: 28px;
        //       height: 28px;
        //       margin-right: 10px;
        //     }

        //     .tig-name {
        //       cursor: pointer;
        //       font-size: 22px;
        //       font-family: PingFangSC-Regular, PingFang SC;
        //       font-weight: 400;
        //       color: #F8F8F8;
        //       line-height: 30px;

        //       &:hover {
        //         color: #FAD42C;
        //       }
        //     }

        //   }
        // }
      }

      // .card-item-content0 {
      //   background: url("~@/assets/images/nav/card/card-small-1.png") center no-repeat;
      // }

      // .card-item-content1 {
      //   background: url("~@/assets/images/nav/card/card-small-2.png") center no-repeat;
      // }

      // .card-item-content2 {
      //   background: url("~@/assets/images/nav/card/card-small-3.png") center no-repeat;
      // }

      // .card-item-content3 {
      //   background: url("~@/assets/images/nav/card/card-small-4.png") center no-repeat;
      // }

      // .card-item-content4 {
      //   background: url("~@/assets/images/nav/card/card-small-5.png") center no-repeat;
      // }

      /* 卡片区域-激活 */
      // .card-item-content-active {
      //   transform: rotateY(-180deg);
      //   // animation: bgChange 1.5s linear;
      //   background: linear-gradient(180deg, #025388 0%, #012950 100%);

      //   .card-item-front {
      //     transform: rotateY(-90deg);
      //   }

      //   .card-item-behind {
      //     transform: rotateY(-180deg);
      //   }
      // }
    }

  }
}

/* 双控双碳弹窗 */
.ddc-content {
  .ddc-menu {
    position: absolute;
    z-index: 99;

    .tab-chose-content {
      position: relative;
      left: 100px;
      top: 32px;
      width: 987px;
      height: 611px;
      background: url("~@/assets/images/nav/tab-chose1/tab-chose-route-small.png") center no-repeat;
      z-index: 98;

      .tcc-item {
        position: absolute;
        z-index: 99;
        // animation: shakecCircle 5s infinite;

        .back-img {
          width: 115px;
          height: 115px;
          z-index: 99;
          // animation: shakecCircle 5s infinite;

          // &:nth-child(1) {
          //   animation-timing-function: ease-out;
          // }

          // &:nth-child(2) {
          //   animation-timing-function: ease-in;
          // }

          // &:nth-child(3) {
          //   animation-timing-function: linear;
          // }

          // &:nth-child(4) {
          //   animation-timing-function: ease-in-out;
          // }

          // &:nth-child(5) {
          //   animation-timing-function: linear;
          //   animation-duration: reverse;
          // }
        }

        .tcc-name {
          width: 115px;
          height: 115px;
          position: absolute;
          top: 0;
          left: 0;
          z-index: 100;
          display: flex;
          align-items: center;
          justify-content: center;
          // animation: shakecCircle 5s infinite;

          // &:nth-child(1) {
          //   animation-timing-function: ease-out;
          // }

          // &:nth-child(2) {
          //   animation-timing-function: ease-in;
          // }

          // &:nth-child(3) {
          //   animation-timing-function: linear;
          // }

          // &:nth-child(4) {
          //   animation-timing-function: ease-in-out;
          // }

          // &:nth-child(5) {
          //   animation-timing-function: linear;
          //   animation-duration: reverse;
          // }

          div {
            cursor: default;
            width: 46px;
            text-align: center;
            font-size: 22px;
            font-family: PingFang-SC-Bold, PingFang-SC;
            font-weight: bold;
            color: #ffffff;
            line-height: 26px;
            letter-spacing: 1px;
          }
        }

        &:nth-child(1) {
          top: 452px;
          animation: shakecCircle 5s infinite;
          animation-timing-function: ease-out;
        }

        &:nth-child(2) {
          top: 320px;
          left: 144px;
          animation: shakecCircle 6s infinite;
          animation-timing-function: ease-in;
        }

        &:nth-child(3) {
          top: 210px;
          left: 330px;
          animation: shakecCircle 4s infinite;
          animation-timing-function: linear;
        }

        &:nth-child(4) {
          top: 142px;
          left: 525px;
          animation: shakecCircle 8s infinite;
          animation-timing-function: ease-in-out;
        }

        &:nth-child(5) {
          top: 102px;
          left: 700px;
          animation: shakecCircle 10s infinite;
          animation-timing-function: linear;
          animation-duration: reverse;
        }

        .tcc-line {
          z-index: 100;
          position: absolute;
        }

        .tcc-line0 {
          bottom: 10px;
          left: 95px;
          width: 97px;
          height: 45px;
          transform-origin: left top;
          transform: rotate(-20deg);
        }

        .tcc-line1 {
          top: 36px;
          left: 18px;
          width: 36px;
          height: 36px;
          transform-origin: left top;
          transform: rotate(180deg);
        }

        .tcc-line2 {
          top: 20px;
          left: 32px;
          width: 36px;
          height: 36px;
          transform-origin: left top;
          transform: rotate(200deg);
        }

        .tcc-line3 {
          top: 90px;
          left: 75px;
          width: 36px;
          height: 36px;
          transform-origin: left top;
          transform: rotate(25deg);
        }

        .tcc-line4 {
          bottom: 0;
          left: 85px;
          width: 36px;
          height: 36px;
          transform-origin: left top;
          transform: rotate(10deg);
        }


        /* 路由菜单 */
        .route-menu {
          display: flex;
          flex-direction: column;
          align-items: center;
          background: rgba($color: #000000, $alpha: 0.4);
          border-radius: 5px;
          z-index: 101;
          position: absolute;

          .rm-item {
            padding: 4px 20px;
            // margin: 0 20px;
            display: flex;
            align-items: center;

            &:first-child {
              padding-top: 10px;
            }

            &:last-child {
              padding-bottom: 10px;
            }

            img {
              width: 20px;
              height: 20px;
              margin-right: 10px;
            }

            .el-button {
              text-align: left;
              padding: 0;
              font-size: 16px;
              font-family: PingFangSC-Regular, PingFang SC;
              font-weight: 400;
              color: #f8f8f8;
              line-height: 22px;
              cursor: default;
            }

            .el-button0 {
              width: 96px;
            }

            .el-button1 {
              width: 96px;
            }

            .el-button2 {
              width: 96px;
            }

            .el-button3 {
              width: 112px;
            }

            .el-button4 {
              width: 96px;
            }

            // .el-button:hover {
            //   color: #fad42c;
            // }
          }
        }

        .route-menu0 {
          bottom: -46px;
          left: 210px;
        }

        .route-menu1 {
          top: -145px;
          left: -90px;
        }

        .route-menu2 {
          top: -170px;
          left: -50px;
        }

        .route-menu3 {
          top: 140px;
          left: 15px;
        }

        .route-menu4 {
          top: 128px;
          left: 40px;
        }
      }

    }
  }
}
